package com.erhirent.bean;

public class Car {

	public Car() {

	}

	private int rentId;
	private int userId;
	private int carId;
	private String carName;
	private String carRemark;
	private String brandName;
	private String typeName;
	private double carPrice;
	private double rentTotalPrice;
	private String carIsrent;
	private String carIsputaway;
	private int carTypeId;
	private int carBrandId;
	private String rentTime;
	private String returnTime;
	private String carIsorder;

	public int getrentId() {
		return rentId;
	}

	public void setrentId(int rentId) {
		this.rentId = rentId;
	}

	public int getuserId() {
		return userId;
	}

	public void setuserId(int userId) {
		this.userId = userId;
	}

	public int getcarId() {
		return carId;
	}

	public void setcarId(int carId) {
		this.carId = carId;
	}

	public String getcarName() {
		return carName;
	}

	public void setcarName(String carName) {
		this.carName = carName;
	}

	public String getcarRemark() {
		return carRemark;
	}

	public void setcarRemark(String carRemark) {
		this.carRemark = carRemark;
	}

	public String getbrandName() {
		return brandName;
	}

	public void setbrandName(String brandName) {
		this.brandName = brandName;
	}

	public String gettypeName() {
		return typeName;
	}

	public void settypeName(String typeName) {
		this.typeName = typeName;
	}

	public double getcarPrice() {
		return carPrice;
	}

	public void setcarPrice(double carPrice) {
		this.carPrice = carPrice;
	}

	public String getcarIsrent() {
		return carIsrent;
	}

	public void setcarIsrent(String carIsrent) {
		this.carIsrent = carIsrent;
	}

	public String getcarIsputaway() {
		return carIsputaway;
	}

	public void setcarIsputaway(String carIsputaway) {
		this.carIsputaway = carIsputaway;
	}

	public int getcarTypeId() {
		return carTypeId;
	}

	public void setcarTypeId(int carTypeId) {
		this.carTypeId = carTypeId;
	}

	public int getcarBrandId() {
		return carBrandId;
	}

	public void setcarBrandId(int carBrandId) {
		this.carBrandId = carBrandId;
	}

	public String getrentTime() {
		return rentTime;
	}

	public void setrentTime(String rentTime) {
		this.rentTime = rentTime;
	}

	public String getreturnTime() {
		return returnTime;
	}

	public void setreturnTime(String returnTime) {
		this.returnTime = returnTime;
	}

	public double getrentTotalPrice() {
		return rentTotalPrice;
	}

	public void setrentTotalPrice(double rentTotalPrice) {
		this.rentTotalPrice = rentTotalPrice;
	}

	public String getcarIsorder() {
		return carIsorder;
	}

	public void setcarIsorder(String carIsorder) {
		this.carIsorder = carIsorder;
	}

	public Car(int rentId, int userId, int carId, String carName, String carRemark, String brandName, String typeName,
			double carPrice, double rentTotalPrice, String carIsrent, String carIsputaway, int carTypeId,
			int carBrandId, String rentTime, String returnTime, String carIsorder) {
		this.rentId = rentId;
		this.userId = userId;
		this.carId = carId;
		this.carName = carName;
		this.carRemark = carRemark;
		this.brandName = brandName;
		this.typeName = typeName;
		this.carPrice = carPrice;
		this.rentTotalPrice = rentTotalPrice;
		this.carIsrent = carIsrent;
		this.carIsputaway = carIsputaway;
		this.carTypeId = carTypeId;
		this.carBrandId = carBrandId;
		this.rentTime = rentTime;
		this.returnTime = returnTime;
		this.carIsorder = carIsorder;
	}

	@Override
	public String toString() {
		return "Car [userId=" + userId + ", carId=" + carId + ", carName=" + carName + ", carRemark=" + carRemark
				+ ", brandName=" + brandName + ", typeName=" + typeName + ", carPrice=" + carPrice + ", rentTotalPrice="
				+ rentTotalPrice + ", carIsrent=" + carIsrent + ", carIsputaway=" + carIsputaway + ", carTypeId="
				+ carTypeId + ", carBrandId=" + carBrandId + ", rentTime=" + rentTime + ", returnTime=" + returnTime
				+ ", carIsorder=" + carIsorder + "]";
	}

}
